import request from "@/router/axios";

export const getDynamicsList = (params) => {
  return request({
    url: "/admin/tpost/list",
    method: "post",
    data: params,
  });
};

export const getDynamicsItemDetails = (params) => {
  return request({
    url: "/admin/tpost/detail",
    method: "post",
    data: params,
  });
};


export const updateDynamicsItem = (row) => {
  return request({
    url: "/admin/tpost/edit",
    method: "post",
    data: row,
  });
};

export const delDynamicsItem = (row) => {
  return request({
    url: "/admin/tpost/delete",
    method: "post",
    data: row,
  });
};
